package cn.b.sky.mes.qm.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.b.sky.mes.pp.model.ProductionControl;
import cn.b.sky.mes.qm.dao.DefectProcessOperationDao;
import cn.b.sky.mes.qm.model.DefectProcessOperation;
import cn.b.sky.mes.qm.service.DefectGraphService;

/**
 * 
 * <strong>Title : DefectGraphServiceImpl.java<br></strong>
 * <strong>Package : cn.b.sky.mes.qm.service.impl<br></strong>
 * <strong>Description : </strong>检验缺陷图形化查询业务实现类<br> 
 * <strong>Create on : 2015-12-16 上午11:10:03<br></strong>
 * <p>
 * @author dapeng.li<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
@Service
public class DefectGraphServiceImpl implements DefectGraphService {

  @Autowired
  private DefectProcessOperationDao defectProcessOperationDao;

  @Override
  public List<DefectProcessOperation> selectDefectProcessOperationsForGraph(ProductionControl productionControl) {
    return defectProcessOperationDao.selectDefectProcessOperationsForGraph(productionControl);
  }

}
